package com.example.luckysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @version 1.0
 * @Author shangjialu
 * @Date 2024/12/12 11:12
 * @注释
 */
@Data
public class CreatePrizeParam implements Serializable {
    @NotBlank(message = "奖品名不能为空！")
    private String prizeName;
    private String description;
    @NotNull(message = "奖品价格不能为空！")
    private BigDecimal price;
}
